package com.djq.hhc.dataprocess;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: dadd7
 * @Date: 2023/02/26/下午 8:59
 * @Description:
 */
public class RegexPattern {
    /**
     * QQ邮箱正则
     */
    public static final String EMAIL_REGEX = "[1-9][0-9]+@qq.com";
    /**
     * 密码正则。4~20位的字母、数字、下划线
     */
    public static final String PASSWORD_REGEX = "^\\w{4,20}$";
    /**
     * 验证码正则, 6位数字或字母
     */
    public static final String VERIFY_CODE_REGEX = "^\\d{6}$";
    /**
     * 用户名，中文英文数字4-12
     */
    public static final String USER_NAME_REGEX = "^[\\u4e00-\\u9fa5a-zA-Z0-9]{4,12}$";
    /**
     * 花花号正则。4~20位的字母、数字、下划线
     */
    public static final String HHID_REGEX = "^\\w{4,20}$";
}
